package com.ly.im.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.im.pojo.Message;
import com.ly.im.pojo.User;

/**
 * @Author LY
 * @create 2024/2/2 16:12
 * @Description 消息
 */
public interface MessageService extends IService<Message> {

    Object list(User user, Long to, Integer pageNum, Integer pageSize);

    Object addMessage(Message message);
}
